Ugandan court upholds harsh anti-LGBTQ law