Proof:
Suppose $W$ is a subspace of vector space $V$ then by definition of a subspace, it is a nonempty subset of $V$ and is itself a vector space. Note that the dimension of a vector space $V$ is the number of elements in its basis. By the Steinitz Replacement Theorem, $V$ has at most $n$ linearly independent elements for any subset $A\subseteq V$. Since $W$ is nonempty and $W\subseteq V$, then any basis $X\subseteq W$ has at most $n$ linearly independent elements. Thus, if $X$ is a basis then it has at most $n$ elements which implies $dimW=m\leq n$
Your proof is OK, apart from some awkward wording. In particular, I don't like the sentence
I think what you are trying to say is
Also, a short word about how you know that if $X$ is linearly independent in $W$, then it is also linearly independent in $V$ would be nice.
So the proof would be reworded as
By the Steinitz Replacement Theorem, any linearly independent set $A\subseteq V$ has at most $n$ elements.
Let $X$ be a basis for $W$. Then, $X$ is a linearly independent set in $W$. Let $m$ be the number of elements of $X$ (therefore, $m=\dim W$). Therefore, $X$ is also a linearly independent subset of $V$ (just a short description how you know that would be nice here), and therefore, $X$ has at most $n$ elements, or in other words, $m\leq n$.