Threshold resummation for high-transverse-momentum Higgs production at the LHC