An inquiry into suspected LGBT hate deaths in New South Wales has wrapped up in Sydney, after 18 months of hearings.