The reason that dry ice doesn't wet the surface on which it is kept is dry ice is not made up of water,but instead it is made up of dry ice which is solid carbon dioxide.
Because the state of matter ,carbon dioxide is at room temperature ,it goes directly from a solid to a gas in a process called sublimation .because of this, it never passes through intermediate liquid ,thus not leaving anything on surface on which it is set.
Hope this helps :)