In embedded questions (questions inside other sentences), we don't use question word order. We use statement word order: subject + verb. 'He knows what he wants' is correct. 'Does he know what he wants' and 'what does he want' incorrectly keep question word order.