The Maine Narrow Gauge Railroad is planning to move from Portland to Gray. Gray voters on Tuesday defeated a ballot proposal to give the group nearly $500,000.