What's the problem?
Every Star Wars director has solved this problem so I am at a loss to understand why this is even a question.
Fighters take off from the planetary surface, transition into space where they dog fight and do other retro stuff before leaping into hyperspace so they are home in time for tea.
This is true of Star Trek shuttles as well.
And there's not a teapot (or lavvy) to be seen. (Although there might be some we haven't been shown on the shuttles given they are much bigger than X fighters.) Simples evidently.