Former ambassador to Germany is backed as new leader, hours before visit by French president; says he aims to 'end the dangerous financial, economic and social drainage'