The newborn was taken to hospital after struggling to feed and developing jaundice