A central Massachusetts city enabled the author’s ancestors to move into the good life of the middle class. That move is more complicated now.