Who belongs on Canada’s sex offender registry? A contentious ruling in Alberta would let judges decide, calling the entire program into question