Japan’s top court has ruled that a government requirement for transgender people to be sterilized before they could be legally recognized was unconstitutional, in a victory for the country’s LGBTQ community years in the making.