You can be completely right, and you still are going to have to engage folks who disagree with you,” Mr. Obama told the students that day, speaking more to members of the Black Lives Matter movement than to the graduates before him.