pub fn encode_timestamp(ts: Timestamp) -> [u8; 8]
Encodes a Timestamp for lexicographic ordering.
Timestamps are u64 nanoseconds, which are naturally ordered when stored as big-endian bytes.