Nathan’s shares are up more than 40% this year. The hot dog maker has outperformed 482 of the stocks in the S&P 500.