BOSTON — The Massachusetts student who was banned from wearing an “only two genders” shirt to middle school is asking the Supreme Court to hear his high-profile First Amendment case.