Plans to build a residential property on the site of a garage on Leyburn High Street have been refused by North Yorkshire Council.