(Completely untested since, sadly, I have no access to heavy water.) Slowly pour the contents of one glass into the other. The index of refraction of heavy water is 1.328, that of light water is 1.333. Not much, but maybe just enough to see the inhomogeneities. If the decanted glass's contents sink, it had the heavy water. Otherwise, light water.
But if you have even a cheap kitchen scale, that would probably be the better test, since the densities differ by about 10%, as opposed to the index of refraction, which differs by far less.
Or, just add a drop of food colouring to one of the glasses. Or a drop of milk. Just to help out with the contrast.
Do the test with just a small sample from each glass if you want to avoid contaminating the expensive heavy water.