Evolution equation for the eigenvalue problem for the Laplace operator with respect to an obstacle