Home Ukraine’s energy supply faces ‘sternest test yet’ as war grinds toward third winter