The Consumer Financial Protection Bureau and its director Richard Cordray are on a collision course with President-elect Donald J. Trump in what could become a legal showdown over the limits to executive power.