Words do not have "meanings"; they have usages. Thus, lawyers know that every definition should begin with the phrase "For purposes of ....," including the powerful "For all intents and purposes, ...". What, then, is the scope of the title question? For what purpose are we inquiring whether a trans woman is male of female? Unless you are trying to sort a person into one group or another for a purpose, why ask? So if you are asking, you need to state the purpose. What outcomes flow from the answer to your question?