BEIJING—A series of photos published last month by Chinese state media of Foreign Minister Wang Yi standing shoulder to shoulder with visiting Taliban officials decked out in traditional tunic and turban raised eyebrows on the country’s social media. Since then, China’s propaganda machinery has quietly begun preparing its people to accept an increasingly likely scenario…