A man has been arrested after footage of him shouting obscenities and abuse at two Muslim women protesting for Palestine went viral.