THz-driven electron streak camera based on a multilayer structure