My recommendation for wood screws that have "stripped" out the wood is to drill out the inevitable black stuff + a bit, and make a wooden plug of the right size for an interference fit. It is an advantage to provide a small groove down the side of the plug (eg hacksaw cut) to allow glue & air to escape & avoid the hydraulic lock that will split the wood in the next step: Smother the plug & hole with PVA glue (avoid hard epoxy) & hammer the plug in all the way & cut off flush. Allow to dry & Re drill with the root size of the (new) screw and re-attach the door whilst supported. Of course this doesn't address the worn hinge pins!