England boosted their hopes of automatic qualification for Euro 2025 with a 2-1 victory over France in Saint-Etienne.