Derivation (MLE is a function of sufficient statistic)
Let $T$ be a sufficient statistic. By the factorisation theorem, $$ \begin{align*} L_X(θ) = p(X; θ) = g(T(X), θ) \, h(X). \end{align*} $$ The maximiser only depends on the first factor $g(T(X), θ)$ since it treats $X$ as fixed: $$ \begin{align*} \hat θ_{\text{MLE}} = \arg\min_{θ\in Θ} g(T(X), θ)\, h(X) = \arg\min_{θ\in Θ} g(T(X), θ) \end{align*} $$ which is a function of $T(X)$.