Critical minerals and rare earths are front and center in the efforts to end the war in Ukraine, a dominant focus of U.S. talks with Kyiv and a subject of intensifying diplomacy that also involves Moscow, the European Union, and others as Russia’s full-scale invasion enters its fourth year.