She was a small-town mayor and a rising political star in the Philippines. Then she was accused of spying for China.