Three-dimensional two-layer outer gap model: Fermi energy-dependent light curves of the Vela pulsar