Generalized Weyl solutions in d = 5 Einstein-Gauss-Bonnet theory: the static black ring