The first restoration of ‘A Meeting of the School Trustees’ in a century has revealed a much brighter painting with a new, more hopeful meaning