Xi’s flurry of diplomacy is meant to send a signal about China’s position in the world and its ascendancy in global affairs.