RdpConnection: Include new state when emitting state change signal
This removes the need to separately query the new state, which avoids dereferencing a stale pointer when multiple state change events are queued.
(cherry picked from commit 7a3ea532)
Co-authored-by: Arjen Hiemstra ahiemstra@heimr.nl