Transverse-momentum resummation for top-quark pair production at the LHC