With the leaders of Russia and India visiting, China’s president will show how he can use statecraft, military might and history to push for global influence.