The child, who police believe did not know the suspect, suffered life-threatening injuries