Pumpkin Curry with Lentils and Apples