Though only a few of Scorsese’s films focus on religious stories, deeper questions about faith, doubt and living in a violent world tend to haunt his movies.