Six-time Prime Minister Ranil Wickremesinghe was voted in as the eighth executive president in crisis-hit Sri Lanka on Wednesday