Police say suspect left toddler inside machine for nearly 20 minutes before calling emergency services