The president’s team blames his predecessor for stubborn inflation, but Trump’s own agenda could make it harder to defeat.