The amount of trophies you earn is not directly relative to the percentage of destruction. It depends on how many stars you earn. ( Read the bold text below )
According to the Clash of Clans wiki, "Raids" article:
For each star that you earn, you receive one-third of the available Trophies. This means that destroying your opponent's Town Hall gives
you an automatic victory. Also it is impossible to get more than one
star without destroying the Town Hall. Failure to get any stars means
a loss, causing you to lose Trophies.
So for example, let's assume available trophy for a battle is 30. If you destroy the Town Hall and 50% of your opponent's base you will receive 20 trophies, and if you keep destroying it until 90%, you still will get 20 trophies.
Going Idle during a war and coming back
Simple answer, is yes you can.
Clash of Clans can't force you to stay on your device! You can get off, get some coffee, go have a drive, come back and still be able to battle!
Excerpt from the FAQ:
What happens if someone in my clan isn’t active in a war?
Inactive members are treated the same as active members in clan wars. They can still be the target of any actions during the war, including receiving donated troops and being attacked by the enemy. Inactive members will still count toward the total team size and their war bases will still appear on the war map. However, inactive members will not use their attacks and will not receive any bonus loot. (Obviously because their idle)
As long as you still fit the requirements to battle, you can. At anytime (during the battle day).
Leaving clan and coming back during a war
Well, this on the other hand, you should never do.
If you leave during prep day and come back before battle day, no deductions are counted.
If you leave during battle day, you get no loot or bonuses at all, and obtain a shiny two day cooldown to be fight-able again.
(As proved here)
If you leave during prep day and join back, nothing changes
(Prep day)
Nothing. No credit for the win. No war bonus loot. And 2 day cooldown before your eligible for another war.
(Battle day)
So be very careful what you decide.
See here for Frequently Asked Questions on this topic.
Best Answer
Average destruction is rarely ever tied, as the number goes up to four numbers, two on the right and left of the decimal. But assuming that the destruction averages are the same, it will be a draw as sourced from the Clash of Clans Wiki:
So draws are possible... but much,much less likely.