The dot product of two nonzero vectors is $0$ if and only if they meet at a right angle.
I think it was (?) Thales of Miletus (the founder of philosophy, by some accounts, I think?) who showed that if $a$ and $b$ are two points on a circle that are antipodal to each other then for any point $x$ on the circle, the segment from $a$ to $x$ is perpendicular to the segment from $b$ to $x$.
So see if that leads you somewhere.
Postscript in response to a comment:
The above should suggest that the center of the circle is the midpoint between $a$ and $b$. The midpoint is the average, i.e. $(a+b)/2$. The radius is half the diameter, and the diameter is the distance from $a$ to $b$, and the distance from $a$ to $b$ is $\sqrt{(a-b)\cdot(a-b)}$.
An equation of the circle centered at $(a+b)/2$ with radius $\frac 1 2 \sqrt{(a-b)\cdot(a-b)}$ is
$$
\left(r - \frac{a+b}2\right)\cdot\left(r - \frac{a+b}2\right) = \frac 1 4 (a-b)\cdot(a-b). \tag 1
$$
So the question is whether $(1)$ is true if and only if $(r-a)\cdot(r-b)=0$.