Stocks are back on the doorstep of record territory after a volatile month on Wall Street, but persistent inflation worries and souring consumer sentiment are keeping investors uneasy ahead of the Fed’s last policy meeting of the year.