William Keenan, teacher, Dorchester legislator, dies at 92