There will “of course” be people protesting when Donald Trump comes for a state visit, a Cabinet minister has suggested.