Non-Hermitian nonlinear optics in atomic systems