Scottish parliament could block Brexit, SNP leader says