Walkthrough: After defeating your second Island Trial and returning to Route 5, you will quickly find Hau battling with another Trainer. This trainer goes by the name Gladion, and he is upset that Hau doesn't take battling as seriously as he thinks he should. He then will challenge your trainer in frustration.
Team Skull Gladion - Level 17 Zubat, Level 18 Type: Null
After defeating him, he will ultimately tell you that he actually is technically apart of Team Skull, doing a few odd jobs for some Money. Just then, two Team Skull Grunts will come and verbally lash out at Gladion for stopping them from taking the Totem Pokemon earlier. They will then end by saying that he though the Bosses of Team Skull might like him, that he'll still never be apart of Team Skull. They leave, and so does Gladion.