A slight generalization yields insight. By the Lemma, all solutions of $\, px + q y = pq\,$ arise from the particular solution $\,(x,y) = (q,0)\,$ by adding or subtracting multiples of $\,(q,-p).\,$ So the only solution with $\,0\le x < q\,$ is $\,(q,0) - (q,-p) = (0,p),\,$ which fails $\,0\le y < p$
Lemma $\ pX\!+\!qY = px\!+\!qy\ \Rightarrow\ (X,Y) = (x,y) + k(q,-p)\,$ for some integer $\,k$
Proof $\,\ p(X\!-\!x) = q(y\!-\!Y)$ so $\,p,q\,$ coprme $\,\Rightarrow\,p\mid y\!-Y,\,$ so $\,y\!-\!Y = kp,\,$ so back substituing $\, X\! -\! x = kq,\,$ so $\,(X,Y)-(x,y) = (X\!-\!x,Y\!-\!y) = (kq,-kp) = k(q,-p)$
Remark $\ $ If you've studied linear algebra or differential or difference equations (recurrences) then you may recognize this is a special case of the basic fact that the general solution of a nonhomogenous linear equation is given by any particular solution plus the sum of the general solution of the associated nonhomogeneous equation.
Here the homogenous form is $\,px + qy = 0\,$ whose nonzero solutions satisfy $\,y/x = -p/q.\,$ So the nonzero solutions are the fractions equivalent to $-p/q$, which are of the form $\,-kp/kq,\,$ i.e. $\,(x,y) = (kq,-kp) = k(q,-p)$ as above. That all equivalent fractions have this form depends on $\,p,q\,$ being coprime, i.e. the fraction is in lowest terms - see unique fractionization for more.