Speaking in Beijing, President Trump said that the United States and China have the “power to liberate the world” from the North Korean “menace.”