It's harder to text while riding faster, so it's not always safer.
In most cases though, the faster you ride, the fewer cars are passing you, so fewer right hooks, cars tend to hold back rather than pass, and you are generally not as much of a PITA. If you can keep up with the traffic, you are generally safer.