Electron distribution in the Galactic disc: Results from a non-equilibrium ionization model of the interstellar medium