Validates that a chain ID string follows CAIP-2 format.
true if valid, false otherwise
The chain ID string to validate