First lattice calculation of the QED corrections to leptonic decay rates