Galactic Wolf-Rayet stars with Gaia: Origins, Properties and Extragalactic Applications