Without a diagram I would insert a multimeter behind the connector, into two of the wires. Set the multimeter to (lets say 200K)Ohms. Operate the kickstand until you see an open/close circuit displayed by a 1 or 0.00 on the multimeter. Trial and error until you find the correct two wire combination.
thats if its a simple NO/NC circuit operated by a switch on the kickstand somewhere (probably)