Michael J. Wilson resigns as Selectman