A proposed housing development with a mosque at its center drew scrutiny from Texas Republicans, who feared the project would discriminate against non-Muslims.