Bistable nematic azimuthal alignment induced by anchoring competition