Anisotropy-induced photonic bound states in the continuum