The proof is OK. But you might use the well known and generally useful fact that a cyclic group of order $m$ has a cyclic subgroup (and hence elements) of any order $d$ dividing $m$, to reduce this to a one-liner. With $o(w)=n$, $\phi(g)=w$ and $m=o(g)$ one has $e_K=\phi(e_G)=\phi(g^m)=w^m$, so $n$ divides $m$, and the cyclic subgroup $\langle g\rangle$ of $G$, which has order $m$, contains an element of order $n$.