Obama wraps up India visit with town hall meeting