I think “I never would have guessed you were trans” doesn’t land as a compliment for the same reason “I never would have guessed you were Jewish” doesn’t