Static quark potentials in quantum gravity