You nearly have it.
First note that if $(x,y,z)$ is a triplet that satisfies the equation, then taking $(x',y',z') = \left(\dfrac{x}{\gcd(x,y)},\dfrac{y}{\gcd(x,y)},\dfrac{z}{\gcd(x,y)}\right)$ also is a triplet that satisfies the equation. And $\gcd(x',y') = 1$. We call such a solution a primitive solution.
Assume that there is a non trivial solution, then there is a non trivial primitive solution $(X,Y,Z)$
Note that $LHS$ is either $0$, $1$ or $2$ $\pmod 4$ and that the $RHS$ is either $0$ or $3$ $\pmod 4$. The only option for $LHS = RHS$ is if they are both $0\pmod 4$, i.e. $4\mid X^2$, $4\mid Y^2$ and $4\mid Z^2$.
Or, equivalently, $2\mid X$, $2\mid Y$ and $2\mid Z$, but then $2\mid \gcd(X,Y)$ and therefore $(X,Y,Z)$ is not a primitive solution as we assumed.
The contradiction comes from assuming that there is a non trivial solution, therefore we can conclude that $(0,0,0)$ is the only one there is.