Learned Full Waveform Inversion Incorporating Task Information for Ultrasound Computed Tomography