Extracts a retry-after duration from the provided error message.
The extracted retry-after duration, or null if no valid duration could be determined.
The error message from which to extract the retry-after duration.