As a presidential race profoundly shaped by Americans’ frustration with high prices nears its end, the government said Thursday that an inflation gauge closely watched by the Federal Reserve has dropped to near pre-pandemic levels.