A number of states are considering legislation that would allow app developers to circumvent Apple and Google’s app store fees.