You don’t say what denomination the Martin & Leith families were. Not all the churches in the Ahoghill area have records that cover the period you are interested in. Ahoghill RC’s marriage records start in 1822. The Church of Ireland’s in 1811 and Ahoghill 2nd Presbyterian church’s in 1833. It might be worth searching them for the marriage. Copies are held in PRONI in Belfast. Only the RC records are on-line.
Martin is quite a common surname in the Ahoghill area, but Leith is less so. I noted this gravestone inscription in 1st Ahoghill Presbyterian graveyard:
“Erected by John Leith, Victoria, Australia in loving memory of his mother Margaret Leith of Slatt died 16th June 1908 aged 80 years Also his father Samuel Leith died 15th July 1911 aged 85 years And his brother Samuel Leith died 19th December 1935 Also his sister Margaret Leith died 7th March 1945 Also Sarah Craig died 19th March 1965."
There was an Archibald Leith in a farm labourer’s cottage in Slatt (also known as Slaght) in 1862, according to Griffiths Valuation. Probably Presbyterian.
In 1901:
http://www.census.nationalarchives.ie/pages/1901/Antrim/Kells/Slaght/931357/