I think you’ve misinterpreted the common meme. The common meme is that gender or race are social constructs. I haven’t heard the meme sex is a social construct.
Sex has multiple meanings, one of which is gender. I don't know if it's an American vs British English thing, but in many countries they use the word "sex" this way much more frequently than "gender".