Detection of nitrogen rotational distributions by resonant 2 + 2 multiphoton ionization through the a1Πg state