The United States and Ukraine will meet in Saudi Arabia to discuss a potential minerals deal and ways to end the war.