Energy decay mechanisms and anharmonic lattice dynamics: The case of solid nitrogen