Prices are jumping in the United States and around the world, prompting growing warnings that a wave of inflation could threaten the global economy if it persists. China isn’t waiting to find out.