Constitutional showdown looms over Scotland’s transgender bill