Text this: The ecological drivers of variation in global language diversity