There's no infringement. The only player possibly infringing was the attacking player, who kicked the ball out - so regardless of whether there's infringement or not, it's a goal kick. Different if it's a defending player doing the infringing, but I can't see that it's the case in this instance.