Ranil Wickremesinghe to serve until MPs vote for new leader next week after months of protests over economic crisis