Oscar-winning Palestinian film director leaves Israeli detention