Ah! Reading back on the original query, you are trying to find a way for ESXi to restart a VM that was 'accidently' shutdown. If the proper mechanisms for shutdown have been used, i.e. someone right clicked the VM in a web client and selected "power off" or "Shut down guest", then there would be no way for ESXi to distinguish between this being a deliberate or accidental act.
The solutions discussed so far will reset a VM that stops heartbeating, i.e. it has crashed or stalled internally, but not in the situation described originally. You were correct with your original assertion that this is something that Horizon does.
Another possibility would be to create a Scheduled Task on vCenter on the VM in question to "Power On" the VM hourly, so the worst that would happen would be for the VM to be offline for one hour. With some creative tasking (i.e. lots of Power On tasks) you could in theory have vCenter attempt to power on the VM at any frequency you wanted.