How do I change my display settings if I can't see my screen?
Try to to go /Library/Preferences/ and search for com.apple.windowserver.plist. It's the file that gets updated when you modify the display in System Preferences (I just tried).

According to this Apple KB, it's safe to delete it. So move it on your desktop and try to reboot.