European Central Bank president Christine Lagarde resigned on Thursday, ending months of speculation about her future just as Europe enters a period of rising economic volatility and divisive electoral politics, particularly in her native France.