Whenever I restore an iPhone from backup the screen starts to dim for a while. I think the processor under load uses a ton of power and starts to heat up too much, and the display automatically dims to reduce power consumption. Check again in a few days and see if it's better. Also check Accessibility>Display Accommodations to make sure nothing weird got enabled during your restore.