Dean Grant headed a late winner as Whitstable Town opened their FA Vase defence with an unconvincing win over Sussex side Infinity.