Western Power hauled to court after ‘drooping’ power lines destroyed 18,000ha and killed thousands of sheep