Spacelike strings and jet quenching from a Wilson loop