Does the frame fit you well? If not, a frame that fits well can make a noticeable difference in performance. Better wheels may help your sprint a little, but not much overall, unless you spend more on wheels than your bike is worth.
I think the best way for a beginner to spend money is to spend a few days with a good coach working on riding technique and a fitness program.