Energy-based control of a wave equation with boundary anti-damping