In a banner year for movies with black actors in the lead, Mahershala Ali and Janelle Monáe both created breakthrough performances in “Moonlight.” They cemented their year with their work in “Hidden Figures.” For Ali, the recognition comes after decades of a steady acting career; for Monáe, a successful musician, “Moonlight” was her first time onscreen.