Injection mechanism at contacts in a quantum-well intersubband infrared detector