NEW YORK—The dollar dipped on Wednesday as risk sentiment improved and as investors focused on rising commodity prices and when global central banks are likely to begin hiking interest rates to fend off persistently high inflation. The greenback hit a one-year high against a basket of other currencies last week as market participants ramped up bets that the Federal Reserve will raise rates sooner than expected to quell rising price pressures. Those bets have faded, however, while investors are pricing for even more aggressive rate increases in other countries and as commodity-linked currencies including the Canadian and Australian dollars outperform. “When it comes to central banks, there’s a lot of aggressive pricing out there,” said Bipan Rai, North American head of FX strategy at CIBC Capital Markets in Toronto, noting that the market is likely overstating how fast rate hikes will come. The dollar index was last down 0.09 percent …