Liverpool museum acquires first painting to depict abolition