Light irradiation controlled spin selectivity in a magnetic helix