Nanostructure semiconductor light emitting device having rod and capping layers of differing heights