Inflation grew at the slowest pace since January last month as the Federal Reserve’s interest rate hikes tank sectors of the economy in an effort to cool demand and tame rising prices—a potentially promising sign for consumers as officials gauge when to hit the brakes on their aggressive tightening campaign.