Western Australian Premier Roger Cook has apologised for language he used to describe US Vice President JD Vance.