Britain is aiming to wrap up exit talks with the European Union within two years as a “political necessity,” the U.K. Chancellor of the Exchequer said, rebutting concerns from some European governments that negotiations can’t be concluded so quickly.