A Grade II-listed hotel and wedding venue in Lancashire has been sold to new owners.