Turkish court releases opposition lawmaker