Fast particle confinement with optimized coil currents in the W7-X stellarator