Unveiling the nature of the highly obscured active galactic nucleus in NGC 5643 with XMM-Newton