Assembly of Nanowires by Contact-Line Deposition