Calling `std/parseEnum` with a range type doesn't work
### Description

Error: **Expected a node of kind nnkEnumTy, got nnkInfix**

# main.nim
```nim
import std/[strutils]

type
  Enum = enum a, b, c
  EnumRange = b..c

discard parseEnum[EnumRange]("")
```

### Nim Version

2.2.0

### Current Output

```text
PS /Users/dawid/Desktop/unfun/netchess/tmp> nim c main
Hint: used config file '/Users/dawid/.choosenim/toolchains/nim-2.2.0/config/nim.cfg' [Conf]
Hint: used config file '/Users/dawid/.choosenim/toolchains/nim-2.2.0/config/config.nims' [Conf]
.......................................................................................
stack trace: (most recent call last)
/Users/dawid/.choosenim/toolchains/nim-2.2.0/lib/std/enumutils.nim(27, 3) genEnumCaseStmt
/Users/dawid/.choosenim/toolchains/nim-2.2.0/lib/core/macros.nim(691, 24) expectKind
/Users/dawid/Desktop/unfun/netchess/tmp/main.nim(7, 29) template/generic instantiation of `parseEnum` from here
/Users/dawid/.choosenim/toolchains/nim-2.2.0/lib/pure/strutils.nim(1323, 18) template/generic instantiation of `genEnumCaseStmt` from here
/Users/dawid/Desktop/unfun/netchess/tmp/main.nim(5, 16) Error: Expected a node of kind nnkEnumTy, got nnkInfix
```
```


### Expected Output

_No response_

### Known Workarounds

_No response_

### Additional Information

_No response_