I don't have access to magnetic mask (still in FCP 10.4.10). From what I understand, Motion 5.9 does not have the magnetic mask (yet).
Stroke has the "power" to "Hide Source" which will give you an outline all by itself.
You *could* use the Freehand pen tool and trace the Stroke. You would then have the ability to apply particles and brushes. You can also use the "standalone" Stroke as a *mask* (Stencil Alpha blend mode) to the particles/brushes/etc. and shape outline animations.
The only problem you would have is that the Freehand stroke will need to be animated over time (a matter of setting a first keyframe, advancing the playhead and editing (moving) points to re-match the Stroke as it animates.) This will get to be rather tedius. (Try to move the playhead as far as you can if the movement is "uniform" enough — there's usually no need to keyframe every frame.) If you're experienced with Bezier shapes, try to delete as many extraneous points you can to simplify the process.
[This video might help you simplify your shapes:
https://youtu.be/SXUFGZqF6h4 ]