President-elect Donald J. Trump is considering formally turning over the operational responsibility for his real estate company to his two adult sons, but he intends to keep a stake in the business and resist calls to divest, according to several people briefed on the discussions.