The challenge for Prabowo’s administration is determining how to transition away from coal without disrupting energy security.