A midwife involved in delivering a baby who died a week after birth said she “wrongly trusted” doctors she had raised concerns with, a fatal accident inquiry has heard.