What you have then is a retrofit condition. You are dealing with figuring out a solution. You might just try a plug in extension, like one of those electrical strips, or just a moulded extension cord. Some have very flat male caps. Normally, when planning for a Murphy bed, or any wall system configuration, the initial measurements and location of wall outlets, phone connections, data hookups, A/V connections are taken into consideration with the layout of the casework. They are relocated according to local codes, and the NEC. Chases, spaces and gaps can be planned in the cabinetry to afford a convenient location.
.