The chief executive of the Countess of Chester Hospital was worried about a "wrongful conviction" after Lucy Letby was arrested, a public inquiry has heard.