Treasury Secretary Janet Yellen made a surprise visit to Ukraine and announced $1.25 billion in economic aid as the country’s war with Russia goes into its second year.