Anisotropy-driven transition from the Moore-Read state to quantum Hall stripes