Precision test of the muon-Higgs coupling at a high-energy muon collider