Interface learning in fluid dynamics: Statistical inference of closures within micro--macro-coupling models