We call $\triangle ABC$ with centroid $G$ "balanced" on side $AB$ if the foot of the altitude from $G$ onto line $\overline{AB}$ lies between $A$ and $B$. $\triangle XYZ$, with $XY=2023$ and $\angle ZXY=120^\circ$, is balanced on $XY$. What is the maximum value of $XZ$?

Let's think step by step and output the final answer within \boxed{}.
user