Holistic nanowire laser characterization as a route to optimal design