Laplace metasurfaces for optical analog computing based on quasi-bound states in the continuum