$L^∞$-variational problem associated to Dirichlet forms