Lynch was a onetime painter who broke through in the 1970s with the surreal Eraserhead, and who rarely failed to startle and inspire audiences