Leon E. Panetta earned more than $1 million last year serving on corporate boards, consulting and delivering speeches, including some given to imploding banks at the height of the financial crisis.