In a game of football (Rugby or Association), to "kick the ball into touch" means to kick it beyond the touchline and off the field of play. It's then a dead ball. So, it's used as a metaphor in other walks of life when you're talking about anything irritating you want to be rid of - you kick it into touch.