A new analysis found only two states have seen healthy growth in middle-class income compared to inflation.