Residual confinement in high-temperature Yang-Mills Theory