The discount retailer is moving into higher-income neighborhoods, a sign of an economy increasingly catered to wealthy people.