I would choose the first. I can't get my brain around the idea that anything with "going to" should be considered a universal or timeless truth.
"How did the ancients figure out that the earth is round?" is more the sort of thing I expect with the subordinate clause in the present tense.
This may just be a personal preference in my own use of the language.
CJ