No, I just don't see how those are connected, for the reasons outlined.
Guess. If you guess wrongly and they care enough, they'll correct you. Accept the correction and move on.
(Biological) sex isn't and never was binary, by the way. To date, besides the XX-female and XY-male sexes...