Every tiny acceleration derived from a pedal stroke has to be transferred from bike to rider by hands and back. It's not "work" in the physical sense if you look at the bike as your frame of reference, but it requires biological effort nonetheless. As long as you don't need to brake, more storage in the wheels is better. This effect would be strongest in a climb, but there you certainly only want heavy wheels if you can compensate with a lighter frame or parts (and if the inevitable braking on the subsequent descent does not call for less storage).
But there's a catch: even on a track, lighter wheels will _feel_ faster, because you get stronger feedback from oscillations I'm your pedal stroke.