Towards 1% accurate galaxy cluster masses: including baryons in weak-lensing mass inference