Mean-field theory for the spin-triplet excition liquid in quantum wells