Engineering of Active and Passive Loss in High-Quality-Factor Vanadium Dioxide-Based BIC Metasurfaces