City of Trail and Beaver Valley reach recreation funding agreement