A weak lensing mass reconstruction of the large-scale filament feeding the massive galaxy cluster MACS J0717.5+3745