Investigation of the role of electron cyclotron resonance heating and magnetic configuration on the suprathermal ion population in the stellarator TJ-II using a luminescent probe