For our drop-down bunk I ordered a mattress from
The Foam Factory. You can specify just about any configuration you want, including folds or segments (I picked up a 3" high density foam + 3" memory foam in a tri-fold configuration).
If you give them a call with measurements you probably can dictate exactly where the fold is.