A Saudi TV creator says he has been convicted by an anti-terrorism court for allegedly promoting homosexuality and militancy in his new show on Netflix.