A teenager who was wrongly stopped by police from taking photographs of a military parade in Romford, east London, is compensated.