I know you have done it now, but for next time remember no need to do anything other than loosen the 4 small nuts on the axle holding clamp, undo the axle and pull it out, that's it. Then just pull the wheel forwards and you're done.
TIP: When putting it all back together, fit the speedo drive into the wheel, push the wheel into the correct position (aligning the disc between the pads), push the axle throught the right fork leg and through the wheel into the left fork leg and tighten it up. Here's the trick, gently tighten the 4 small nuts on the axle holding clamp so they are just finger tight but are holding the axle in place. Then take the bike off the stand and push the front suspension up and down a few times as far as you can make it go (without being silly about it). Once you have done this tighten the 4 small nuts on the clamp according to the correct torque specs. The reason for doing this is to make sure the forks aren't pinched at the botton end of the suspension stroke. Bouncing it up and down will force the forks into the right place on the axle, then you can tighten the axle holding clamp up and it should be all good to go.