Text this: Characterization of semiconductor nanowires using optical tweezers