Discovering Optimal Natural Gaits of Dissipative Systems via Virtual Energy Injection