Single-frequency mid-infrared waveguide laser