Twitter on Friday flagged one of US President Donald Trump's tweets on Minneapolis protests for "glorifying violence."