Von der Leyen visits Ukraine as western focus shifts to Israel-Hamas conflict