Mara Wilson was in a ‘living nightmare’ after her image was used for child sex abuse material