Site-selective mapping of metastable states using electron-beam induced luminescence microscopy