RL-Driven Security-Aware Resource Allocation Framework for UAV-Assisted O-RAN