Measuring the leading hadronic contribution to the muon g-2 via μe scattering