China could play a crucial role in ending the war in Ukraine.