Thousands of toddler step stools are being recalled after a child's head got stuck in one.