Unfortunately it seems, FCPX and Compressor can’t handle this material correctly. FCP7 had the tools, FCPX does not. Importing the footage in to Premiere shows the premiere understands what is happening and removes the correct adv pulldown frame and results in correct 23.976 playback. THere’s a checkbox in the interpret footage that says “Remove 24p Dv pulldown” that is enabled by default with this footage, so it is recognizing the flags. FCPX does not.
There was a software program that could help with this, called Calibrated Software, but I am not sure if it is relevant anymore as MXF is mostly supported natively on macOS these days, but it might be worth pinging the developer to check out any options they may have for you. Ideally, you’d run this software on the P2 footage itself, and get self-contained movs that you import to FCPX (similar to what happens when you use the import window in FCPX).
https://www.calibratedsoftware.com/ProductInfoFCPX.php