Federal agent was shot twice by state police while going to hotel, lawyer says