Vladimir Putin is wagering he can outlast Western support for Ukraine—if he can keep Russia’s war machine running