Ratios of the hadronic contributions to the lepton g−2 from lattice QCD+QED simulations