Merkel rival wins leadership of German conservatives