San Diego's top female lifeguard is suing the city after claiming officials blocked her from competing for the department's top job.