As church attendance declines, religious institutions aim to develop more housing on underutilized properties.