[guided]The residual vector is obtained by projecting $Y$ away from the column space of $X$. Define
\begin{align*}
P:=XCX^\top\in\mathbb R^{n\times n},
\qquad
M:=I_n-P\in\mathbb R^{n\times n}.
\end{align*}
We verify that $P$ is the orthogonal projection onto $\operatorname{Range}(X)$. First,
\begin{align*}
P^\top=(XCX^\top)^\top=XC^\top X^\top=XCX^\top=P,
\end{align*}
because $C$ is symmetric. Second,
\begin{align*}
P^2
&=XCX^\top XCX^\top \\
&=XC(X^\top X)CX^\top \\
&=XCX^\top \\
&=P.
\end{align*}
Thus $P$ is a symmetric idempotent matrix, hence the orthogonal projection onto its range. Since $PX=X$, its range is exactly $\operatorname{Range}(X)$. Therefore $M=I_n-P$ is the orthogonal projection onto $\operatorname{Range}(X)^\perp$.
Now compute the residual vector:
\begin{align*}
Y-X\hat\beta
&=Y-XCX^\top Y \\
&=Y-PY \\
&=MY \\
&=M(X\beta+\varepsilon) \\
&=MX\beta+M\varepsilon.
\end{align*}
Because $PX=X$, we have $MX=(I_n-P)X=X-X=0$, so $MX\beta=0$. Hence
\begin{align*}
Y-X\hat\beta=M\varepsilon,
\qquad
\operatorname{RSS}=|M\varepsilon|^2.
\end{align*}
To identify the distribution of this squared length and its independence from the numerator, choose coordinates adapted to the two orthogonal subspaces. Since $u_j\in\operatorname{Range}(X)$ and $|u_j|=1$, choose an orthonormal basis $(q_1,\dots,q_n)$ of $\mathbb R^n$ such that $q_1=u_j$, the vectors $q_1,\dots,q_p$ span $\operatorname{Range}(X)$, and $q_{p+1},\dots,q_n$ span $\operatorname{Range}(X)^\perp$. Let $Q\in\mathbb R^{n\times n}$ be the orthogonal matrix with columns $q_1,\dots,q_n$, and define
\begin{align*}
\eta:=\frac{Q^\top\varepsilon}{\sigma}.
\end{align*}
Since $\varepsilon/\sigma\sim\mathcal N(0,I_n)$ and $Q$ is orthogonal, orthogonal invariance of the standard multivariate normal distribution gives
\begin{align*}
\eta\sim\mathcal N(0,I_n).
\end{align*}
Thus the coordinates $\eta_1,\dots,\eta_n$ are independent standard normal random variables.
The numerator coordinate is
\begin{align*}
Z_j=\frac{u_j^\top\varepsilon}{\sigma}
=\frac{q_1^\top\varepsilon}{\sigma}
=\eta_1.
\end{align*}
The residual projection $M\varepsilon$ keeps exactly the coordinates in $\operatorname{Range}(X)^\perp$, so
\begin{align*}
\frac{\operatorname{RSS}}{\sigma^2}
=\frac{|M\varepsilon|^2}{\sigma^2}
=\sum_{k=p+1}^{n}\eta_k^2.
\end{align*}
A sum of squares of $n-p$ independent standard normal random variables has the chi-squared distribution with $n-p$ degrees of freedom. Therefore
\begin{align*}
W:=\frac{\operatorname{RSS}}{\sigma^2}\sim\chi^2_{n-p}.
\end{align*}
Moreover $Z_j=\eta_1$ depends only on the first coordinate, while $W$ depends only on $\eta_{p+1},\dots,\eta_n$. Since the coordinates of $\eta$ are independent, $Z_j$ and $W$ are independent.[/guided]