Upshur County road engineer resigns