Integral representation for the solution of the stationary Schrödinger equation in a cone