Dark matter annihilation radiation in hydrodynamic simulations of Milky Way haloes