Prop 22 was not an amendment to the Constitution, it added a statute to the Family Code. Thus (although in reality it is not) a judge could find it unconstitutional
As statute, even one passed by the voters themselves and not the Legislature, it can be held unconstitutional. An amendment would not suffer that same vulnerability.