Quantum-optical implementation of non-Hermitian potentials for asymmetric scattering