Your best bet is to just place an ad on Craigslist and in the paper in the lost and found sections. If someone tries to claim the phone, have them identify the picture on the lock screen.
I used to work at an Apple Store Genius Bar. We were not allowed to give out any information from our system ever. If you're located in the US and the phone has a SIM, it probably has AT&T as a carrier. They will not be able to give you any info on the phone either.
Just to provide some insight as far as why Apple can't help you contact the whoever might be listed in their system, remember that a computer or iPhone is a transferrable device. We would frequently have customers bring in a device for repair that was purchased secondhand and the original owner's information was still in our system.
Let's say Tommy buys a MacBook Pro and registers it. Later, Tommy sells his MacBook Pro to Kate because he's broke. Kate purchases the MacBook Pro but does not update the registration. A month later, she leaves the computer in an airport and you find it. You take it to the Apple store and they say, "Oh, here is all of Tommy's info. We'll just call up Tommy and he can come get his MacBook back."
Tommy is not a very scrupulous person, and he fails to mention that he sold the MacBook Pro a month ago. He comes and picks it up and now he has Kate's money and his old computer back. Sweet deal, right? So you can see why this isn't something that Apple would be willing to do.
The Apple employee you talked to was not trying to be obstructive when he wouldn't help you out, but there's a lot of liability things at stake here. They were pretty committed to the idea of protecting customer data, sometimes to the point of idiocy when I worked there, so they're pretty much a dead end as far as returning the phone.
There are these devices, but I'm not sure where you'll find one now. You could also use a non-powered USB hub.
But in all honesty, iPhone lithium ion batteries won't be too damaged by continual charging, it's not like to old days of NiCad (Nickel Cadmium) batteries.
Best Answer
In the older iOS devices it's the accelerometer - it is detecting the constant acceleration due to gravity.
Normal motion produces only short bursts of acceleration, not long enough to trigger rotation.
If you put your iOS device in a fast car and accelerated it for several seconds you could probably get it to autorotate the wrong way.