The screen guises he donned, be it for Ray or other directors, projected a modern man vacillating between personal urges and social constraints