The president of the Maldives swept into power a year ago on a campaign to push India out of the island nation’s affairs and draw closer to China. Now, as a debt crisis looms and earlier Chinese loans come due, he is in New Delhi looking to mend some fences.