Converts a hex string (2 characters) into its byte representation.
a string representing a hex byte
a byte, or -1 if hex doesn't represent a hex byte
hex