Maryland’s longest serving member of Congress won’t seek reelection after having spent two decades as the No. 2 House Democrat.