It’s actually much easier than I thought. Just remove this from your portfolio template –
// Force layout to full-width-content
add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
and the sidebar shows up if you have that particular layout chosen on the page editor.