Proof (equivalent definitions of projective Zariski topology)
Write $Z_p$ for the zero locus in $\mathbb{P}^n$ and $Z_a$ for the zero locus in $\mathbb{A}^n$.
$q\inv(X)$ is closed in $\mathbb{A}^n \setminus \set{0}$ for all closed $X \subseteq \mathbb{P}^n$
By definition, if $X = Z_p(S)$ for some homogeneous ideal $S$, $$ \begin{align*} q\inv(Z_p(S)) ={}& q\inv(\sb{(a_0 : \ldots : a_n)}{F(a_0, \ldots, a_n) = 0 \; \forall F\in S}) \\ ={}& \sb{(a_0, \ldots, a_n)}{F(a_0, \ldots, a_n) = 0 \; \forall F\in S} \setminus \set{0} \\ ={}& Z_a(S) \setminus \set{0} \end{align*} $$ which is closed.
If $q\inv(X)$ is closed in $\mathbb{A}^n \setminus \set{0}$, then $X$ is closed in $\mathbb{P}^n$
Suppose $q\inv(X) = Y\setminus \set{0}$ for some affine algebraic $Y\subseteq \mathbb{A}^n$. This means for $(a_0, \ldots, a_n)\in \mathbb{A}^n \setminus \set{0}$, then $$ \begin{align*} (a_0, \ldots, a_n) \in Y \iff (λa_0, \ldots, λ a_n) \in Y \end{align*} $$ for all $λ\in k^\times$.
Let $f\in I(Y)$, and write $f = \sum_{d\geq 0} f_d$ as a sum of homogeneous polynomials. For any $p = (a_0, \ldots, a_n)\in Y$, $$ \begin{align*} f(λp) = \sum_{d\geq 0} λ^d f_d(p) \in k[λ]. \end{align*} $$ Since $λp \in Y$, we have $f(λp) = 0$ for all $λ\in k^\times$. Hence $f_d(p) = 0$ for all $d\geq 0$ and $p\in Y$. Thus $f_d \in I(Y)$.
Hence $I(Y)$ is homogeneous. Thus $$ \begin{align*} p\in Z_p(I(Y)) &\iff f(q\inv(p)) = 0 \; \forall f\in I(Y) \iff q\inv(p) \in Y = q\inv(X) \end{align*} $$ and so $Z_p(I(Y)) = X$ is projective algebraic.