modules.state.template: avoid shadowing high() func

```
************* Module salt.modules.state
salt/modules/state.py:219: [W0621(redefined-outer-name), template] Redefining name 'high' from outer scope (line 180)
```