Optimal bioelectric control accelerates collective wound healing