Erdogan wins lawsuit against opposition leader