Theory of coupled spin-charge transport due to spin-orbit interaction in inhomogeneous two-dimensional electron liquids