Tech layoffs have 'right-sized' the industry and will keep earnings strong, strategist says