South Korea’s interest-rate swap curve has inverted for the first time in two years, as traders bet the central bank is nearing the end of its policy tightening cycle after raising interest rates for a third time this year.