A number of opportunities were missed to ask more questions about patient safety during the 12-month attack spree of Lucy Letby, a NHS chief has told a public inquiry.