Analytic inhomogeneous electron liquid and its density for model spin-compensated two-electron atomic ions with Coulomb confinement: an exact nonrelativistic Hamiltonian