If I say "Did Tom speak Italian" is this past tense?

Yes. The whole verb is "did speak" but the words are inverted to form the question.