Why is wavenumber used in IR spectroscopy rather than wavelength?
Not only in IR spectroscopy. Wavenumber is unit of energy and therefore you can directly deduce the difference of energy between states.

In addition, humans like to think in acceptably small numbers (0.01 - 10,000). Wavenumber allows this for IR and conveniently supplements the eV unit in small energy separations range. Admittedly, the conversion factor of 8,065.73 won't win beauty contest.