Is this hinged collapsible clothesline design stable enough?
Suggested construction:

This spreads the torsional load over the entire banister railing instead of stressing only the cap or top rail.
If there's any bending at the hinge, or other distortion, it will be confined to the added pieces and will leave your existing railing unaffected.