Tissue-resident memory T cells orchestrate tumour-immune equilibrium