Stellar flare detection in XMM-Newton with gradient-boosted trees | Synapse