Archaeologists have put together a funding bid to restore rare medieval wall paintings in a church in a North Yorkshire town.