Nonprofit will buy Historic Roxbury church from City Realty