About a one-dimensional Schrödinger-Poisson system with Kohn-Sham potential