US stocks moved higher on Wednesday, driven largely by gains in Nvidia, the market’s most influential stock. The S&P 500…