Text this: ScriptHOI: Learning Scripted State Transitions for Open-Vocabulary Human-Object Interaction Detection