A vector leptoquark for the B-physics anomalies from a composite GUT