MaineHealth will close Lincoln Hospital’s labor and delivery unit in December