A spokesman explained Wang Yi, China’s foreign minister, anticipated the Taliban to be “a pivotal military and political force” in Afghanistan’s reconstruction, and urged their leaders to hold peace talks. Mr. Wang also criticized NATO and the U.S. for its Afghan withdrawal.