If it hasn't fully established, I would partially expose the root ball. I would use a long handled shovel as a lever and get it upright once again. Then backfill with soil.
Then once it is upright, then stake it.
I wouldn't be pruning a young tree like that. It could really lead to more problems when you can easily straighten it.