A Japanese court ruled on Monday that a ban on same-sex marriage was not unconstitutional, dealing a setback to LGBTQ…