Walmart, which caters to shoppers across incomes, may offer the clearest snapshot of U.S. consumer health so far this retail earnings season.