Dispersion-theoretical analysis of the electromagnetic form factors of the $\Lambda$ hyperon