Yields on 10- and 30-year U.S. government debt finished at their highest levels since May on Wednesday, after the Federal Reserve pulled back on the number of interest-rate cuts it foresees for 2025 and delivered its final reduction in borrowing costs this year.