Fairway Market, the grocery chain known for offering exotic foods to affluent shoppers, is struggling and paring back its expansion plans, as food lovers have more choices, both in stores and online.