SC Justice Ketanji Brown likened ban on sex changes for minors to interracial marriage prohibitions