The Supreme Court of Canada has agreed to hear a court challenge against Quebec's controversial secularism law, known as Bill 21.