The dispute, which some critics say tests the church’s autonomy, reached the Texas Supreme Court on Wednesday for arguments.