Stress-sensitive inference of task controllability