The correct option is
B did she want
Statement 'A' asks a question to which statement 'B' provides an answer. Statement 'B' tells us what the subject wants and so the question asked by 'A' must justify that. Also, the answer must be in interrogative form as 'A' is a question. Further, the word 'wanted' indicates past tense and so the answer must also be in past tense.
Option A is incorrect. 'wanted she' is a grammatically incorrect statement. A verb cannot be placed before its subject and so 'wanted' cannot come before 'she'.
Option B is correct. 'did she want' is an interrogative phrase. It is also in the past tense. Further, it justifies the answer that the subject wants something by asking what the subject wants.
Option C is incorrect. 'she wanted' is in the past tense and justifies the answer given by 'B' but, it is not an interrogative sentence and cannot be used for asking a question.
Option D is incorrect. 'has she wanted' is an interrogative sentence and justifies the answer given by 'B' but, it is in present perfect tense and not past tense. Thus, it does not support the tense of 'B'.