Real-time static potential in hot QCD