The unexpected connection between Whole Foods and Walmart points to a pivotal era in American grocery shopping — one that permanently split the market.