libfreerdp-core: wrap state transition actions