Republican’s effort to block first transgender House member from using women’s bathrooms brings campaign issue to the Capitol