The correct option is D wanted
Tense is used to provide more information about an action ( its time, completeness, etc.). Option B) wanted is correct as the principal cause uses the past perfect tense and therefore, the subordinate clause must use simple past tense. The other options are wrong as the sentence is about the past (had seen) and therefore, not about the future or the present. The correct answer is B)wanted.