Topological scattering singularities and embedded eigenstates for polarization control and sensing applications