The Federal Reserve slowed the pace of its interest rate hikes on Wednesday, but signaled additional rate increases this year will likely be necessary in order to cool inflation that remains elevated—dashing investors’ hopes that the central bank may soon pivot from its most aggressive economic tightening campaign in three decades.