Oh? Are you talking about Chongyun? Because I don’t know anyone in the game who’s named Liyue, I only know about city that’s named Liyue.
There isn’t a answer to that, at least for now. For some reason he has either bad luck which doesn’t allow him to see spirits or something.
In the Hangout event with Chongyun, he may have encountered the ghost girl in Test of Courage, but so far there’s no other events from him bumping into a spirit.