Active Photoswitching of Sharp Fano Resonances in THz Metadevices