The poll also found a political divide surrounding the public’s views about whether the influence of religion is positive.