The state outpaced most of the country in a year that saw persistent inflation, a weakening jobs marker and a growing separation between high-income households.