On the nature of outflows in intermediate-mass protostars: a case study of IRAS 20050+2720