Wall Street closes higher as inflation data supports Fed bets