Attendants of patients hear the infant’s cries in the early hours and alert the authorities; the child protection wing moves her to a care centre and the police examine footage to trace who left her