You can answer your own question. Which is faster on the road: your road bike with 29" wheels (700c) or your mountain bike with 26 inch wheels? If you think weight has really very much to do with it get your friend (of similar ability) who weighs 10 pounds more than you ride the road bike and see if you can beat him with the mountain bike.