Twitter hid a tweet from President Donald Trump on Friday, accusing him of breaking its rules by “glorifying violence” in a message that said looters at protests in Minneapolis would be shot.