Simulation of recombination-pumped soft-x-ray lasers in wall-confined laser-produced plasmas