The recent firing of McDonald’s chief executive Steve Easterbrook over a workplace romance highlights a growing intolerance for inappropriate behavior that used to be overlooked.