In my view, this is not a community development loan, even though some of the church's activities benefit LMI people. Under the CRA definition of community development, the loan, service or investment must go to one of the five stated purposes. The deal, as you described it, doesn't fall into any of those categories, particularly since the purpose of the loan appears to be capital improvements to the church building located in an upper income tract. I'm going to guess that the church probably serves mostly middle- and upper-income parishioners, who would be the direct beneficiaries of the loan.
If you had a written agreement with the church as to how it specifically used the loan proceeds, and that use met one of the five CD categories, then a case could be made for the loan being CD. Absent that, though, I would be hard pressed to attribue any CRA credit to your bank for this loan. AR.