[native_rust_library] Write state version as build-time constant
Summary:
We're going to pass state version in gRPC metadata - this updates native_rust_library build.rs to scrap it
from native/redux/persist.js.
Some context in ENG-8279.
Test Plan:
cd native_rust_library && cargo build --verbose. In IDE, added use crate::STATE_VERSION then used my IDE
to jump to definition. Found generated value matching the value from persist.js.
Reviewers: varun, marcin
Reviewed By: marcin
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D12275