I would suggest building a contact plate for the folded down position. Wiring would be permanent in the wall frame and on the layout.
Split wire loom is an option to protect the wire. Look under the hood of your car. It is available in small diameters and is held closed with cable ties.