Salpeter equation in position space: Numerical solution for arbitrary confining potentials