If protesters are behaving illegally, then their right to peaceful protest is nullified. But only if that is true.

For example, if environmental protesters merely stand around with placards to voice their opposition to a pipeline, then their arrest would be a violation of their rights.

But if they tried to hold up traffic needed to construct the pipeline, then they are liable to arrest.

That's always been true and has nothing to do with Trump.