For centuries, houses of worship have served as havens for people needing refuge — and, in recent decades, sanctuary from the U.S. government.