Kinetic energy release from N2 induced by selective inner-shell excitation