The toddler had to be restrained by two guards after spitting on adults