The Alliance of American Football, the upstart league that abruptly folded midway through its first season, filed for bankruptcy after failing to secure a partnership with the NFL.