Photoactivation mechanism of a carotenoid-based photoreceptor