Orientational pinning of the striped phase in a quantum Hall liquid