Waste plumbing is not my expertise by any stretch, so I don't know how feasible it is, but in the photo below, could the toilet be relocated to the main bathroom?
I would imagine the main factor would be which way the joists run, but not sure how I would determine that?
Regards: Elliott.