The Department of Housing and Urban Development on Wednesday proposed a new rule that would weaken Obama-era protections for homeless transgender people, allowing federally funded shelters to deny people admission on religious grounds or force transgender women to share bathrooms and sleeping quarters with men.