Proof (diagonalisable iff non-zero product of linear factors sends linear map to zero)
Existence of $p$ $\implies$ $m_\alpha$ is a product of distinct linear factors
We have $m_\alpha\mid p$, so if $p$ is a product of distinct linear factors, then so is $m_\alpha$.
$m_\alpha$ is a product of distinct linear factors $\implies$ existence of $p$
Set $p=m_\alpha$.
Diagonalisable $\implies$ existence of $p$
Let $n=\dim(V)$. Let $B$ be basis for $V$ such that $[\alpha]^B_B$ is diagonalisable. By reordering $B$, we can assume $$ \begin{align*} A = [\alpha]^B_B = \pmat{\lambda_1 I_{n_1} &\\ &\lambda_2 I_{n_2} \\ && \ddots \\ &&& \lambda_k I_{n_k}} \end{align*} $$ where all $\lambda_i$ are distinct and $\sum_{i=1}^{k} n_i = n$.
Then $$ \begin{align*} \prod_{i=1}^{k} (A - \lambda_i I_n) = 0 \end{align*} $$ because for each $j=1,2,\ldots,n$, the entry $(A-\lambda_i I_n)_{j,j} = 0$ for some $i=1,2,\ldots,k$.
Setting $$ \begin{align*} p(t) = \prod_{i=1}^{k} (t-\lambda_i) \end{align*} $$ works since $(t-\lambda_i)$ are distinct linear factors.
Existence of $p$ $\implies$ diagonalisable
We can assume $p$ is monic. Write $$ \begin{align*} p(t) = \prod_{i=1}^{k} (t-\mu_i) \end{align*} $$ where $\mu_1, \mu_2, \ldots, \mu_k\in \mathbb{F}$ are distinct. We know that $p(\alpha) = 0$.
Our goal is to show $$ \begin{align*} V \leq V_{\mu_1} \oplus V_{\mu_2} \oplus \ldots \oplus V_{\mu_k} \leq V. \end{align*} $$
Define $$ \begin{align*} p_j(t) = \prod_{\substack{i=1 \\ i\neq j}}^{k} (t-\mu_j), \qquad j=1,2,\ldots,k. \end{align*} $$ Since $p_1, \ldots, p_k$ have no common factor of degree at least 1, by Bézout's identity, there exists polynomials $q_j\in \mathbb{F}[t]$ such that $$ \begin{align*} 1 = \sum_{j=1}^{k} p_j(t) q_j(t). \end{align*} $$
Define $\pi_j = p_j(\alpha)\circ q_j(\alpha)\in \mathcal{L}(V,V)$. The above equation becomes $$ \begin{align*} \id_V = \pi_1 + \pi_2 + \ldots + \pi_k. \end{align*} $$ For all $v\in V$, we have $v = \id_V(v) = \pi_1(v) + \ldots + \pi_k(v)$, so $V = \im(\pi_1) + \ldots + \im(\pi_k)$.
But note that since $p(t) = (t-\mu_j) p_j(t)$, we know $$ \begin{align*} (\alpha - \mu_j\id_V) \circ\pi_j ={}& (\alpha-\mu_j\id_V) \circ p_j(\alpha) \circ q_j(\alpha) \\ ={}& \underbrace{p(\alpha)}_{0} \circ q_j(\alpha) \\ ={}& 0 \end{align*} $$ so $\im(\pi_j) \leq \ker(\alpha - \mu_j \id_V) = V_{\lambda_j}$.
Hence $$ \begin{align*} V = \im(\pi_1) + \ldots + \im(\pi_k) \leq V_{\mu_1} + \ldots + V_{\mu_k} \leq V. \end{align*} $$ Therefore $V = V_{\mu_1} \oplus \ldots \oplus V_{\mu_k}$ and $\alpha$ is diagonalisable.