Housing and Urban Development Secretary Ben Carson got into a testy exchange with a Democratic lawmaker who pressed him on the department's position on access to homeless shelters for transgender people, with the lawmaker appearing to accuse the secretary of enabling discrimination at facilities.