Seol mar théacs é seo: Gravitationally lensed quasars and supernovae in future wide-field optical imaging surveys