Rising interest rates and a recovery of energy prices may signal a switch for investors after a years-long appetite for growth stocks.