High-gain Ni-like x-ray laser driven by two laser pulses