Quantum Spin-Hall Effect of Light at Bound States in the Continuum