Gender medicine from a philosophical and legal perspective: a “critical theory” of medical knowledge?