Despite strong gains by right-wing and nationalist groupings, von der Leyen’s center-right European People’s Party won the most seats in recent elections to the European Parliament.