The bill, signed by Mayor Eric Adams on Friday, adds weight to the list of characteristics protected from discrimination in areas like employment and housing.