Maybe you can have someone from the homophobic country ask if they broke up with her because she's trans (although probably phrasing it less nicely) and have him be bewildered that anyone would think that.

That, or I think if you explain the circumstances of the breakup, it should be clear what the actual reason is, and it wouldn't make sense for people to assume it's something completely different.