pub fn smt_hash_leaf(key: &[u8], value: &[u8]) -> Result<Vec<u8>, JsValue>
Compute Poseidon2 hash for leaf nodes: hash(key, value, 1)