Pack joystick state into byte array ready for sending