Solved
I had this exact same issue with my Razr MAXX with the same exact symptoms. I searched all over and not one person seemed to have the cure, so I suffered this problem for days. However, I was able to discover the fix on my own. No more dim when waking the screen up. I can't say for sure exactly which step fixed it but I will list what I did to solve the issue:
1. Power down your Razr.
2. Power up your Razr.
3. Hold down volume up + volume down buttons at dual core screen.
4. Keep holding all the way through animation screen.
5. This will put your phone into safe mode. You will know this because the words "safe mode" will be in the bottom left corner.
I don't know if the simple act of putting my phone into safe mode cured it but I noticed that my phone stayed bright when I put it to sleep and woke it at this point. However, by the fact that it functioned normally in safe mode, I figured the culprit might be one of the apps that start at boot in normal mode. Therefore, I went into settings -> apps -> and cleared the data caches of a couple apps that I felt were capable of altering the screen brightness. To be specific, "Light Flow" (an app I downloaded), and "Emergency Alerts".
I get a strong suspicion that of those two, Emergency Alerts may be the one that was screwing things up since I had it pop up a few times before my problem started. In any case, after I did this and rebooted my phone into normal mode, the problem was completely fixed. I hope this helps a few people out.