DuPont beat back a boardroom challenge at its annual shareholder meeting, one of the rare times that a fight with an activist investor has gone to a vote.