Turkish court upholds jail term for ex-HDP leader