A man has pleaded not guilty to manslaughter by criminal negligence over the fatal gassing of a newborn baby in a Sydney hospital.