Medford judge denies petition for gender-neutral designation