A Grade I-listed 18th Century building by the River Ouse in York could be set for a new lease of life as a restaurant under a newly-lodged licensing application.