Electron-positron annihilation in thermal QCD