The N and P lanes can be swapped to facilitate layout but the end point P/N polarity should be consistent.
The MAX14950 is protocol agnostic, so the P and N of a differential pair can be swapped through our part but you should make sure that the end point transceivers have the correct lane routed to them.