My view on this is that as long as the ball is at a height which is at least at the same height as the sweet spot on your driver then the tee height should not impact on distance. It is of course important that the ball is teed up at the same height each time to help with your muscle memory and consistency.
However, if of course the ball is at a height lower than this then the ball cannot possibly be hit out of the sweet spot, hence impacting distance. I also think that teeing the ball higher encourages golfers to have the swing thought of sweeping the ball off the tee with a shallow arc at the bottom instead of hitting down with a steep angle which would be good for most golfers to gain distance.