Laser cooling of cavitating bubbles for quantum technology applications