Black hole with Confining Electric Potential in Einstein-Gauss-Bonnet gravity