Paul is correct. When you add "I wonder" it is no longer a question (that is, in question format).
Here are some more examples:
How old is he? direct question
I wonder how old he is. -- indirect, no longer a question
Where does Mary live?
I wonder where Mary lives.
"What do I want to do with my life?"
I asked myself what I wanted to do with my life.