XMM-Newton survey of the low-metallicity open cluster NGC 2516