A study by SmartAsset analyzed home values, incomes, jobs, taxes, and homeownership in each state to find where the middle class is thriving.