The Church of England has been accused of ageism over the proposed closure of a historic church with an elderly congregation.