Search for heavy particles decaying into top-quark pairs using lepton-plus-jets events in proton–proton collisions at \(\sqrt{s} = 13\) \(\text {TeV}\) with the ATLAS detector