Kasia Niewiadoma (Canyon-SRAM) gritted her way up Alpe d'Huez as she clung onto the yellow jersey on a thrilling final stage of the Tour de France Femmes.