A new approach to Kazhdan-Lusztig theory of type B via quantum symmetric pairs