I just checked the five B2B cruises we have booked in 2023 on the Eclipse and they all have the appropriate B2B discount applied.
We have found when you book consecutive cruises on board, the B2B discount is not applied then. Our TA gets it for us; if you work directly with X, call and ask for it.