Electronic structure and excited state dynamics in a dicyanovinyl-substituted oligothiophene on Au(111)