Cosmetic composition comprising a polyurethane based on dialkyl tartrate diol and uses thereof