No, this is not an appropriate use of "WLOG". "WLOG" is for when you are making an assumption that might be false, but for some reason (e.g., symmetry), if you prove the result under that assumption then the result without the assumption follows easily. Here you are not making any assumption: you are simply giving names to the vertices.
It would be appropriate to use "WLOG" if the proof had started with a statement like
Let $V=\{x_1,\dots,x_n,y_1,\dots,y_n\}$.
Then, since the $x_i$ and $y_i$ have already been defined, it's not necessarily true that the two sets of the partition are $\{x_1,\dots,x_n\}$ and $\{y_1,\dots,y_n\}$, which is why "WLOG" is needed. But in your proof, where you have not yet defined the $x_i$ and $y_i$ at all, there is no assumption needed to label the two sets in this way, since you are just defining new variables.