Polarization-controlled dynamically switchable high-harmonic generation from all-dielectric metasurfaces governed by dual bound states in the continuum