Metal enrichment, dust, and star formation in galaxies at high redshifts. II, Lyman-alpha emission from the z=2.465 absorber toward Q0836+113