Live Competition is only for official tournaments run by The Pokemon Company, i.e. the Pokemon National/World Championships. It only works when you are at the actual event, not over wifi or anything like that.
To play online in X/Y, you need to load up the Player Search System (PSS) once you've loaded your game, not from the initial menu screen.