The linearized Poisson-Nernst-Planck system as heat flow on the interval under non-local boundary conditions