A Maine Republican who fought COVID-19 restrictions and lost his wife to the disease has resigned