Dannel P. Malloy, former governor of Connecticut, was on Thursday named the next chancellor of the University of Maine system. He served two terms as governor before opting not to seek re-election in 2018.