Russian attacks on Ukraine’s power stations knocked out more than half of the country’s capacity to generate electricity last fall and winter. The widespread blackouts are over for now, but the new focus on energy security is raising prospects for a speedier transition to renewable energy as Ukraine rebuilds.