Postmaster General Louis DeJoy plans to leave the U.S. Postal Service after five years running the distressed agency.