The film adaptation of James Baldwin’s 1974 novel imbricates joyful moments within a fraught political and racialized landscape