Terence Rattigan was understandably consumed with thoughts of love and death – and the right way to die – when he wrote his last great play, In Praise