A former school near the Canadian border has been empty for 15 years. One in the Midcoast closed last year. Both are trying to figure out what’s next.