But then something went radically wrong, and understanding why offers lessons for national and subnational governments everywhere. California’s economy, which used to outperform the rest of the country, now substantially underperforms.