Goldman Sachs is steering investors toward what it calls a “sweet spot” in the consumer landscape: companies with meaningful exposure to middle-income households.