[testdriver.js] Fix malformed action payloads (#48227)
Starting in #45823, create_context_action() wraps create_action() in
testdriver-extra.js. Some methods still pass the old create_action()
arguments to create_context_action(), which incorrectly assigns
__wptrunner_id to the params object 0 and not the WindowProxy.
This causes TestDriverProtocolPart.switch_to_window() to fail to find
the requested window 1.