The distributor A24 hopes the Academy Awards will provide a box-office bump for a gay-themed film that has not drawn mainstream moviegoers so far.