It must not be handling that correctly. Liquibase reads the metadata provided by hibernate, but composite IDs are probably an edge case not handed correctly.
I created https://github.com/liquibase/liquibase-hibernate/issues/28 to track the problem.
Nathan