Ukraine’s economy has greater staying power than Russia’s, but the US mineral deal shows how fragile its advantage is