Surfactant Self-Assemblies Near Contact Lines and their Effect on Wetting by Surfactant Solutions