How long does it take for the Hubble telescope to orbit the moon?

The short answer is that the Hubble telescope does not orbit the Moon -- it orbits the Earth.
The Hubble Space Telescope's Earth orbit, at an altitude of about 360 miles (580 km), takes 96 minutes.