Collision Avoidance and Geofencing for Fixed-wing Aircraft with Control Barrier Functions