Hi
In fact the second sentence is slightly incorrect. You have two different grammatical forms.
You can just say "I am wondering if..." because 'to wonder' is a verb . And the form is Present Continuous. It doesn't require 'to know'.
The other sentence needs the verb 'to know' because 'curious' an adjective. "Curious" is a state not an action. So in this case you do need 'to know'.
And that sort of answers your question about the meaning. 'curious to know' has the same sort of meaning as 'to wonder' in most cases. ("I am wondering why you are studying English." = "I am curious to know why you are studying English.)
However, like many words they have different forms and meanings in different contexts. I won't confuse things too much, but "Curious!" as an expression normally means "Strange!", and "I wonder" sometimes expresses strong doubt. ("I wonder if he will buy the drinks." = "I don't think he will pay for the drinks.")