You can set the HTTP headers as outbound properties, so you should be able to do something like
<set-property propertyName="http.status" value="#[message.inboundProperties['http.status']]"/>
after the outbound HTTP call to respond with the exact same status. You will also need the http.disable.status.code.exception.check to prevent an exception, unless you have some other type of exception handling.