Just to be pedantic, you need to be a little careful when discussing wave power. Some systems generate power from the vertical surface movements of waves. These do indeed rely principally (though not entirely) on the Sun�s energy creating winds and the winds producing waves.
However, many proposals for power from the sea (and indeed one that has been operational for some years across the Rance estuary in France) rely on the movement of the tides. Tides are produced as a result of the interaction between the Earth�s rotation and the moon orbiting the Earth. Energy captured by these methods is at the expense of the Earth�s rotational speed and any such schemes will imperceptibly slow down the planet�s rotation and increase the length of the day.
Because of the tidal effect the Earth�s rotation is slowing down anyway and at some time in the future the Earth and moon will become �tidally locked�. This means that the Earth�s period of rotation will equal the time taken for the moon to orbit the Earth. (This has already happened to the moon, which is why we only ever see one side of it).
When this happens there will no longer be any tides. Whether this will be before or after the Sun runs out of energy I don�t know. However, before the Sun does eventually die entirely it will expand into a �Red Giant�, engulfing the planets as far as Earth and possibly Mars, so the question may be academic.