Brooklyn teacher wins $450,000 sex-harass settlement