Soft-x-ray laser scheme in a plasma created by optical-field-induced ionization of nitrogen