Top-quark couplings to TeV resonances at future lepton colliders