A few things to consider with this project:
1) The motor is too fast - a stepper with a gear reduction would be a better choice
2) The motor is heavy - will probably move the motor to the mounting end of the main arm and use a belt or wire drive to actuate the folding arm.
I've been taking apart some old printers looking for appropriate gear components. A nylon worm gear 1:100 would be perfect.