Theory of conserved spin current and its application to a two-dimensional hole gas